package cn.maxhou.t0006;

import cn.maxhou.t0006.proxy.IntermediaryImpl;
import cn.maxhou.t0006.service.Buyer;
import cn.maxhou.t0006.service.impl.RealBuyer;
import org.apache.log4j.Logger;
import org.junit.Test;

public class BuyerTest {
    private Logger logger = Logger.getLogger(BuyerTest.class);
    @Test
    public void havealookImpl() throws Exception {
        Buyer buyer = new IntermediaryImpl(new RealBuyer());
        String result = buyer.havealook();
        logger.debug(result);
    }
}
